package com.axjy.service;

import com.axjy.pojo.Menu;
import com.axjy.web.vo.Node;

import java.util.List;
import java.util.Map;

/**
 * Created by 83536 on 2018/1/16.
 */
public interface PermissionService {
    List<Node> search4Tree(Integer roleId);
    void grant4Role(Integer roleId,Integer[] mids);
    Map<Menu,List<Menu>> createMenus(Integer userId);
}
